.class public abstract Lcom/a0soft/gphone/app2sd/main/CoreApp;
.super Landroid/app/Application;
.source "CoreApp.java"


# static fields
.field private static o:Lcom/a0soft/gphone/app2sd/main/CoreApp;

.field private static final p:Ljava/lang/String;


# instance fields
.field protected a:Ljava/lang/String;

.field protected b:I

.field protected c:I

.field protected d:I

.field protected e:Ljava/lang/String;

.field protected f:Ljava/lang/String;

.field protected g:Z

.field protected h:Ljava/lang/Class;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:J

.field private l:Lcom/a0soft/gphone/app2sd/a/a;

.field private m:Landroid/content/BroadcastReceiver;

.field private n:Landroid/os/Handler;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 48
    const-class v0, Lcom/a0soft/gphone/app2sd/main/CoreApp;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->p:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 52
    invoke-direct {p0}, Landroid/app/Application;-><init>()V

    .line 53
    sput-object p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->o:Lcom/a0soft/gphone/app2sd/main/CoreApp;

    .line 54
    return-void
.end method

.method static synthetic a(Lcom/a0soft/gphone/app2sd/main/CoreApp;)Lcom/a0soft/gphone/app2sd/a/a;
    .locals 1
    .parameter

    .prologue
    .line 17
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->l:Lcom/a0soft/gphone/app2sd/a/a;

    return-object v0
.end method

.method static synthetic b(Lcom/a0soft/gphone/app2sd/main/CoreApp;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 17
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->n:Landroid/os/Handler;

    return-object v0
.end method

.method public static h()Lcom/a0soft/gphone/app2sd/main/CoreApp;
    .locals 1

    .prologue
    .line 70
    sget-object v0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->o:Lcom/a0soft/gphone/app2sd/main/CoreApp;

    return-object v0
.end method

.method private j()V
    .locals 4

    .prologue
    .line 98
    new-instance v0, Lcom/a0soft/gphone/app2sd/main/w;

    invoke-direct {v0, p0}, Lcom/a0soft/gphone/app2sd/main/w;-><init>(Lcom/a0soft/gphone/app2sd/main/CoreApp;)V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->n:Landroid/os/Handler;

    .line 110
    new-instance v0, Lcom/a0soft/gphone/app2sd/main/x;

    invoke-direct {v0, p0}, Lcom/a0soft/gphone/app2sd/main/x;-><init>(Lcom/a0soft/gphone/app2sd/main/CoreApp;)V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->m:Landroid/content/BroadcastReceiver;

    .line 139
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    .line 140
    const-string v1, "android.intent.action.PACKAGE_ADDED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 141
    const-string v1, "android.intent.action.PACKAGE_REMOVED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 144
    const-string v1, "package"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V

    .line 145
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->m:Landroid/content/BroadcastReceiver;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->n:Landroid/os/Handler;

    invoke-virtual {p0, v1, v0, v2, v3}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;

    .line 146
    return-void
.end method


# virtual methods
.method protected abstract a()V
.end method

.method public final b()Z
    .locals 1

    .prologue
    .line 56
    iget-boolean v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->g:Z

    return v0
.end method

.method public final c()Ljava/lang/String;
    .locals 1

    .prologue
    .line 57
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->a:Ljava/lang/String;

    return-object v0
.end method

.method public final d()I
    .locals 1

    .prologue
    .line 58
    iget v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->d:I

    return v0
.end method

.method public final e()Ljava/lang/Class;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->h:Ljava/lang/Class;

    return-object v0
.end method

.method public final f()Ljava/lang/String;
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->j:Ljava/lang/String;

    return-object v0
.end method

.method public final g()J
    .locals 2

    .prologue
    .line 64
    iget-wide v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->k:J

    return-wide v0
.end method

.method public final i()Lcom/a0soft/gphone/app2sd/a/a;
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->l:Lcom/a0soft/gphone/app2sd/a/a;

    return-object v0
.end method

.method public onCreate()V
    .locals 2

    .prologue
    .line 80
    invoke-super {p0}, Landroid/app/Application;->onCreate()V

    .line 81
    const-string v0, "com.a0soft.gphone.app2sd"

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->i:Ljava/lang/String;

    .line 84
    const-string v0, "com.a0soft.gphone.app2sd.pro"

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->j:Ljava/lang/String;

    .line 86
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020024

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/a0soft/gphone/a/a;->a(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)V

    .line 88
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->a()V

    .line 90
    invoke-direct {p0}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->j()V

    .line 92
    new-instance v0, Lcom/a0soft/gphone/app2sd/a/a;

    invoke-direct {v0}, Lcom/a0soft/gphone/app2sd/a/a;-><init>()V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/CoreApp;->l:Lcom/a0soft/gphone/app2sd/a/a;

    .line 93
    return-void
.end method
